package org.eztouch.sys.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;

import org.eztouch.common.base.BaseEntity;

/**
 * <p>
 * 系统菜单表
 * </p>
 *
 * @author eztouch
 * @since 2017-07-19
 */
@TableName("sys_menu")
public class SysMenu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 菜单名称
     */
	private String name;
    /**
     * 菜单编号（用于显示时排序）
     */
	private String number;
    /**
     * 目标名称（用于DWZUI的NAVTABID）
     */
	private String targetName;
    /**
     * 菜单地址
     */
	private String url;
    /**
     * 父id
     */
	private Long parentId;
    /**
     * 是否为叶子节点
     */
	private String isLeaf;
    /**
     * 菜单层级
     */
	private Integer level;

	@Override
	public Wrapper<SysMenu> bindingQueryWrapper() {
		Wrapper<SysMenu> wrapper = new EntityWrapper<SysMenu>();
		
		return wrapper;
	}



	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getTargetName() {
		return targetName;
	}

	public void setTargetName(String targetName) {
		this.targetName = targetName;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getIsLeaf() {
		return isLeaf;
	}

	public void setIsLeaf(String isLeaf) {
		this.isLeaf = isLeaf;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

}
